package com.xysl.api.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 广告附件记录对象 zl_advertisement_annex
 *
 * @author xysl
 * @date 2025-01-20
 */
@Data
@TableName(value = "zl_advertisement_annex")
@Schema(description = "学幼数联app广告附件对象")
public class AdvertisementAnnex
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @Schema(description = "广告记录id")
    private Long advId;

    @Schema(description = "附件文件类型;img,video,voice")
    private String advFileType;

    @Schema(description = "文件地址")
    private String advFileUrl;

    @Schema(description = "文件排序")
    private String advFileSort;

    @Schema(description = "创建时间", format = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    @Schema(description = "更新时间", format = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatedAt;

}
